package chap3;
//******************************************************************************************************************
//          PP3_2.java                  Author:GK
//
//          计算立方和
//******************************************************************************************************************

import java.util.Scanner;

public class PP3_2 {
    public static void main(String[] args) {
        int a, b, d;
        double c;
        Scanner scan = new Scanner(System.in);

        System.out.println("请输入两个整数： ");
        a = scan.nextInt();
        b = scan.nextInt();

        c = Math.pow(a, 3) + Math.pow(b,3);
        System.out.println("立方和：" + c );


    }
}
